package com.xnyzc.lhy.mis.service.worksheet;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.common.entity.DiDiRv;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.mis.entity.param.worksheet.WorksheetGetOutgoingPhoneNumberParam;
import com.xnyzc.lhy.mis.entity.worksheet.OaSysWorksheetCall;

/**
 * <p>
 * 工单呼叫记录 服务类
 * </p>
 *
 * @author cuixiaojian
 * @since 2019-11-04
 */
public interface IOaSysWorksheetCallService extends IService<OaSysWorksheetCall> {

    /**
     * 生成工单呼叫记录
     * */
    Rv insertIOaSysWorksheetCall(OaSysWorksheetCall oaSysWorksheetCall);

    /**
     * 根据合力工单号获取外呼电话号码
     */
    DiDiRv queryGetOutgoingPhoneNumber(WorksheetGetOutgoingPhoneNumberParam worksheetGetOutgoingPhoneNumberParam);

    /**
     * 挂电话
     */
    Rv hangUp(String callId);

    /**
     * 获取用户信息
     * */
    Rv getUserInfo();
}
